
<div class="digitheader">
	<div class="row-fluid">
         <div class="text_block">
              <h4>professional gallery mega system</h4>
              <h1>Professional gallery!</h1>
         </div>
        <div class="button_block">
            <a class="promo_button" href="#signup">Signup it free!</a>
        </div>
        <div class="clear"></div>
   </div>
</div>

<div class="digitstat">
	<div class="stleft" id="chart1">
	<div class="title"></div>
	<div class="loader"></div>
	<img src="<?=URL::base('http');?>/pub/tumblr_mq7ejb3POL1st5lhmo1_1280-660x330.jpg" width="450"></div>
	
    
    
    <div class="stright"></div>
	<div class="pages-box"></div>
	<div class="clear"></div>
</div>

<div class="digitregister">
	<div class="row-fluid">
   
        <div class="button_block" id="signup" style="float:left;">
           <h2>Add image today</h2> 
           <h4>upload your images</h4> 
           	<?php 
			if(is_array($errors)){
				foreach($errors as $k=>$v){
					echo 'Error: '.$v.'<br />';
				}			
			}		
			
			?>
			<form method="POST" action="<?=URL::base('http');?>/gallery/upload" enctype="multipart/form-data" id="upload">
			<table cellspacing="0" cellpadding="0" border="0">
			  <tbody>
			  <tr>
				<td width="60" align="right">Name:</td>
				<td><input type="text" value="" name="name"></td>
			  </tr>
			
			  <tr>
				<td align="right">File:</td>
				<td><input name="image" type="file" /></td>
			  </tr>			  		  
			  <tr>
				<td>&nbsp;</td>
				<td><a class="promo_button" href="#" onclick="$('#upload').submit();return false;">Add image</a></td>				
			  </tr>		
			 <tr>
			
				
			 </tr>	
			</tbody></table>
	
		</form>
           
         
        </div>
        <div class="clear"></div>
   </div>
</div>

